package com.sugar.queryinfo.module.business.controller.admin.data.dataquerytanzc.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 数据查询-探针C新增/修改 Request VO")
@Data
public class DataQueryTanzcSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15952")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10912")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17431")
    @NotNull(message = "部门ID不能为空")
    private Long deptId;

    @Schema(description = "数据ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10909")
    @NotNull(message = "数据ID不能为空")
    private Long dataId;

    @Schema(description = "1逾期未还款；2 正常履约；4 未知 二/三要素验证不一致")
    private String resultCode;

    @Schema(description = "最大逾期金额")
    private String maxOverdueAmt;

    @Schema(description = "最长逾期天数")
    private String maxOverdueDays;

    @Schema(description = "最近逾期时间")
    private String latestOverdueTime;

    @Schema(description = "最大履约金额")
    private String maxPerformanceAmt;

    @Schema(description = "最近履约时间")
    private String latestPerformanceTime;

    @Schema(description = "履约笔数")
    private String countPerformance;

    @Schema(description = "当前逾期机构数")
    private String currentlyOverdue;

    @Schema(description = "当前履约机构数")
    private String currentlyPerformance;

    @Schema(description = "异常还款机构数")
    private String accExc;

    @Schema(description = "睡眠机构数")
    private String accSleep;

    @Schema(description = "查询时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "查询时间不能为空")
    private LocalDateTime queryTime;

}